package com.example.fireassistant_server.mapper;


import com.example.fireassistant_server.dto.file.FileDto;
import com.example.fireassistant_server.dto.file.FileUploadRequest;
import com.example.fireassistant_server.entity.File;
import com.example.fireassistant_server.vo.FileVo;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface FileMapper {

    File createEntity(FileUploadRequest fileUploadRequest);

    FileVo toVo(FileDto fileDto);

    FileDto toDto(File file);
}
